package com.goambu.driver;

import android.app.Application;
import android.content.Context;
import android.net.ConnectivityManager;
import android.util.Log;

import com.goambu.driver.framework.view.GPSTrackerService;
import com.goambu.driver.utils.DateUtility;

public class GoAmbuDriverApp extends Application  {
	public static Context context;
	static GoAmbuDriverApp instance;
	public static ConnectivityManager connectivityManager = null;
	//public static GPSTrackerService gps;
	/*public GoAmbuDriverApp() {
		app = this;
		context = getApplicationContext();
		GoAmbuDriverConstants.FECHA_HOY = DateUtility.getFechaActual();
	}*/
	
	@Override
	public void onCreate() {
		super.onCreate();

		context = getApplicationContext();
		GoAmbuDriverConstants.FECHA_HOY = DateUtility.getFechaActual();
		connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
		
		
		
		
		
		
	}
	
	
	/*public static Context getAppContext(){
		context = getApplicationContext();
		return context;
	}*/
	
}
